/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.assertnull.conf;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.assertnull.employee.Employee;
import za.ac.cput.assertnull.employee.Impl.EmployeeImpl;

/**
 *
 * @author bongiwe
 */
@Configurable
public class AppConfig {
    @Bean(name="assertnull")
    public Employee employee(){
        return new EmployeeImpl();
    }
}
